<?php
include("config.php");
include("class_db.php");
include("misc_functions.php");




$document = basename(parse_url($_SERVER['SCRIPT_FILENAME'], PHP_URL_PATH), '.php');
if(!preg_match('/^[a-z0-9]+$/i', $document)) { error(404); }
require('sections/'.$document.'/index.php');

?>